package com.qili.entity.exam;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author zhangxiaopeng
 * @date 2021-05-07
 * 考生考试明细表
 */
@Table(name = "ex_stu_exam_detail")
@Data
@ToString
public class ExStuExamDetail {

    @Id
    @Column(name="stu_exam_detail_id")
    private String stuExamDetailId;
    //用户id
    @Column(name="user_id")
    private String userId;
    //考试id
    @Column(name="exam_id")
    private String examId;
    //试卷id
    @Column(name="paper_id")
    private String paperId;
    //试题id
    @Column(name="qu_id")
    private String quId;
    //考试id
    @Column(name = "ex_stu_exam_id")
    private String exStuExamId;
    //所得分值
    @Column(name="score")
    private String score;
    //考生所填答案
    @Column(name="answer")
    private String answer;
    //题号
    @Column(name = "serial")
    private Integer serial;
    //创建人
    @Column(name="create_by")
    private String createBy;
    //创建时间
    @Column(name="create_date")
    private String createDate;
    //修改人
    @Column(name="modify_by")
    private String modifyBy;
    //修改时间
    @Column(name="modify_date")
    private String modifyDate;

    //题型
    @Transient
    private String quType;
}
